package cn.zglbk.network.param;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author zglbk.cn
 * @email 1030681978@qq.com
 * @date 2020/10/23 19:09
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface GameMessageMapping {
    /**消息请求Id*/
    int messageId();
    /**消息类型，request和response*/
    EnumMesasageType messageType() default EnumMesasageType.REQUEST;
    /**class如果是proto则实现自。。。*/
    Class<?> respones();
    /**注释*/
    String commons() default "";
}
